/*
 * @Descripttion: 
 * @version: 
 * @Author: kl2018
 * @Date: 2019-03-07 20:06:20
 * @LastEditors: kl2018
 * @LastEditTime: 2020-06-23 10:08:33
 */
import TopButton from './TopButton';

// import * as allTopButtonConfigs from '../constants/allTopButtonConfigs';

export default function (configs) {
	const btnArr = [];

	configs.forEach((config) => btnArr.push(TopButton(config)));

	return btnArr;
}